package com.pan.entity;

public class ThreadTask {
    private Chapter chapter;
    private Thread thread;

    @Override
    public String toString() {
        return "ThreadTask{" +
                "chapter=" + chapter +
                ", thread=" + thread +
                '}';
    }

    public ThreadTask() {
    }

    public ThreadTask(Chapter chapter, Thread thread) {
        this.chapter = chapter;
        this.thread = thread;
    }

    public Chapter getChapter() {
        return chapter;
    }

    public ThreadTask setChapter(Chapter chapter) {
        this.chapter = chapter;
        return this;
    }

    public Thread getThread() {
        return thread;
    }

    public ThreadTask setThread(Thread thread) {
        this.thread = thread;
        return this;
    }
}
